package com.example.traning.mall.dal.dataobject.account;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.example.traning.mall.framework.mybatis.core.BaseDO;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 角色权限关联
 * </p>
 *
 * @author Lei Yu
 * @since 2025-04-29
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("account_role_permission")
public class AccountRolePermission extends BaseDO {

    /**
     * 数据ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 角色ID
     */
    private Long roleId;

    /**
     * 权限ID
     */
    private Long permissionId;
}
